package com.ruoyi.web.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 茶叶管理对象 tea_teas
 *
 * @author xuzhisen
 * @date 2022-08-18
 */
public class Teas extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 茶编号 */
    private Long teaId;

    /** 茶种类 */
    @Excel(name = "茶种类")
    private Long categoryId;

    /** 茶名称 */
    @Excel(name = "茶名称")
    private String teaName;

    /** 茶图片 */
    @Excel(name = "茶图片")
    private String teaImg;

    public void setTeaId(Long teaId)
    {
        this.teaId = teaId;
    }

    public Long getTeaId()
    {
        return teaId;
    }
    public void setCategoryId(Long categoryId)
    {
        this.categoryId = categoryId;
    }

    public Long getCategoryId()
    {
        return categoryId;
    }
    public void setTeaName(String teaName)
    {
        this.teaName = teaName;
    }

    public String getTeaName()
    {
        return teaName;
    }
    public void setTeaImg(String teaImg)
    {
        this.teaImg = teaImg;
    }

    public String getTeaImg()
    {
        return teaImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("teaId", getTeaId())
            .append("categoryId", getCategoryId())
            .append("teaName", getTeaName())
            .append("teaImg", getTeaImg())
            .toString();
    }
}
